/**
 * @details: 命令行终端管理
 * @brief: 
 * @version: 1.0
 * @author: liuri
 * @Date: 2021-10-05 03:31:56
 * @LastEditors: liuri
 * @LastEditTime: 2021-10-05 06:25:08
 * @FilePath: /TestProject/cPath/vtysh/vty.c
 * @Copyright (C) 2021 liuri. All rights reserved.
 */

#include <stdlib.h>
#include "vty.h"
#include "cmd_node.h"


struct vty *vty_new ()
{
    struct vty *new = malloc (sizeof (struct vty));

    new->type = VTY_SHELL;
    new->node = VIEW_NODE;

    return new;
}

